package com.itgaoshu.service.impl;

import com.itgaoshu.bean.Cashier;
import com.itgaoshu.mapper.CashierMapper;
import com.itgaoshu.service.LCashService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import javax.persistence.Table;
import java.util.List;

/**
 * \* @author: 李豪杰
 * \* Date: 2021/3/23
 * \* Time: 17:04
 * \* Description:
 * \
 */
@Service
@Transactional
public class LCashServiceImpl implements LCashService {
    @Resource
    private CashierMapper cm;
    @Override//查询用户所有的处方
    public List<Cashier> selpepi(Integer perid) {
        return cm.selpepi(perid);
    }
}
